<?xml version="1.0" encoding="UTF-8"?>
<html
    xmlns:ft="https://github.com/OpenType/fonttest"
    xmlns:xlink="http://www.w3.org/1999/xlink">
<head>
  <meta charset="UTF-8"/>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Vollkorn|Vollkorn:i"/>
  <link rel="stylesheet" href="style.css"/>
</head>
<body>
<h3 id="CVAR-1">CVAR–1: Sharing Points</h3>

<div class="desc">
  The <a href="../fonts/TestCVARGVARTwo.ttf">font</a> for this test case
  uses <em>shared point numbers</em> in its <em>‘cvar’</em> table.
  Some versions of the FreeType rasterizer had a bug which made the
  glyphs look as if the font had a reverse-contrast design; see
  <a href="https://github.com/fonttools/fonttools/pull/1113#issuecomment-347219995">FontTools
  bug 1113</a> and
  <a href="https://savannah.nongnu.org/bugs/index.php?52532">FreeType bug 52532</a>.
</div>

<div class="desc">
  Note: The OpenType specification
  <a href="https://www.microsoft.com/typography/otspec/dvaraxistag_wght.htm"
  >explicitly requires</a> that weight values can be interpreted in direct comparison
  to values for <a href="https://www.microsoft.com/typography/otspec/os2.htm#wtc">usWeightClass</a>
  in the ‘OS/2’ table, or the CSS font-weight property. Our test font uses a
  numeric range from 28 to 194. Therefore, applications will typically display
  the rendered letters in a much thinner weight than the font designer probably expected.
  However, the font’s weight axis is still within the permitted bounds (from 1 to 1000),
  so this font is technically valid. In any case, an implementation should not distort
  the glyphs to appear in reverse contrast.
</div>

<table>
  <tr>
    <th></th>
    <td>28</td>
    <td>94</td>
    <td>194</td>
  </tr>
  <tr>
    <th>Expected</th>
    <td class="expected" ft:id="CVAR-1/28"
        ft:render="hon" ft:font="TestCVARGVARTwo.ttf" ft:var="wght:28;wdth:100;opsz:72"><svg version="1.1" viewBox="0 -292 1743 1360"><symbol id="CVAR-1/28.uni0068" overflow="visible"><path d="M16,0 L16,10 L41,10 Q78,10 94,14 Q110,18 114,33 Q118,49 118,84 L118,672 Q118,709 114,725 Q110,742 95,746 Q81,750 51,750 L26,750 L26,760 L146,760 L146,482 Q146,474 146,466 Q146,458 146,446 Q146,435 145,416 L147,416 Q159,456 183,484 Q207,512 240,527 Q274,542 314,542 Q392,542 433,499 Q475,457 475,362 L475,84 Q475,49 479,33 Q483,18 499,14 Q516,10 552,10 L569,10 L569,0 L447,0 L447,360 Q447,448 415,487 Q384,527 314,527 Q264,527 226,505 Q188,483 167,440 Q146,398 146,334 L146,84 Q146,49 150,33 Q154,18 170,14 Q186,10 223,10 L242,10 L242,0 Z" /></symbol><symbol id="CVAR-1/28.uni006F" overflow="visible"><path d="M265,-10 Q172,-10 118,58 Q65,126 65,267 Q65,407 117,474 Q169,542 270,542 Q364,542 415,476 Q466,411 466,267 Q466,126 415,58 Q364,-10 265,-10 Z M265,0 Q329,0 367,32 Q405,64 421,124 Q438,184 438,267 Q438,360 420,418 Q402,477 365,504 Q328,532 270,532 Q207,532 168,503 Q129,475 111,416 Q93,358 93,267 Q93,180 111,120 Q129,61 167,30 Q206,0 265,0 Z" /></symbol><symbol id="CVAR-1/28.uni006E" overflow="visible"><path d="M38,0 L38,10 L61,10 Q98,10 114,14 Q130,18 134,33 Q138,49 138,84 L138,452 Q138,486 134,502 Q130,518 115,522 Q101,526 71,526 L43,526 L43,536 L166,536 L166,427 L168,427 Q180,464 204,489 Q228,515 261,528 Q294,542 333,542 Q419,542 458,496 Q498,451 498,357 L498,84 Q498,49 502,33 Q506,18 522,14 Q538,10 575,10 L590,10 L590,0 L470,0 L470,375 Q470,442 439,484 Q409,527 333,527 Q268,527 231,500 Q195,473 180,430 Q166,388 166,344 L166,84 Q166,49 170,33 Q174,18 190,14 Q206,10 243,10 L259,10 L259,0 Z" /></symbol><use x="0" y="0" xlink:href="#CVAR-1/28.uni0068" /><use x="595" y="0" xlink:href="#CVAR-1/28.uni006F" /><use x="1126" y="0" xlink:href="#CVAR-1/28.uni006E" /></svg></td>

    <td class="expected" ft:id="CVAR-1/94"
        ft:render="hon" ft:font="TestCVARGVARTwo.ttf" ft:var="wght:94;wdth:100;opsz:72"><svg version="1.1" viewBox="0 -292 1857 1360"><symbol id="CVAR-1/94.uni0068" overflow="visible"><path d="M18,0 L18,10 L26,10 Q57,10 75,18 Q93,27 100,47 Q108,67 108,102 L108,660 Q108,694 100,713 Q93,733 75,741 Q58,750 28,750 L23,750 L23,760 L202,760 L202,558 Q202,538 202,519 Q202,500 202,481 Q202,462 201,442 L203,442 Q216,488 241,510 Q267,533 296,539 Q326,546 351,546 Q440,546 483,499 Q527,453 527,350 L527,102 Q527,67 534,47 Q541,27 557,18 Q574,10 602,10 L607,10 L607,0 L433,0 L433,384 Q433,449 408,490 Q384,531 326,531 Q279,531 252,506 Q225,481 213,441 Q202,402 202,359 L202,102 Q202,67 209,47 Q217,27 234,18 Q252,10 282,10 L287,10 L287,0 Z" /></symbol><symbol id="CVAR-1/94.uni006F" overflow="visible"><path d="M287,-10 Q179,-10 117,59 Q55,128 55,269 Q55,409 114,477 Q174,546 290,546 Q398,546 460,477 Q522,409 522,269 Q522,128 462,59 Q402,-10 287,-10 Z M289,0 Q338,0 368,27 Q398,54 411,113 Q425,172 425,269 Q425,365 411,423 Q398,482 368,509 Q338,536 288,536 Q239,536 209,509 Q179,482 165,423 Q152,365 152,269 Q152,172 165,113 Q179,54 209,27 Q240,0 289,0 Z" /></symbol><symbol id="CVAR-1/94.uni006E" overflow="visible"><path d="M28,0 L28,10 L36,10 Q67,10 85,18 Q103,27 110,47 Q118,67 118,102 L118,436 Q118,470 110,489 Q103,509 85,517 Q68,526 38,526 L33,526 L33,536 L211,536 L211,442 L213,442 Q226,488 251,510 Q277,533 306,539 Q336,546 361,546 Q450,546 493,499 Q537,453 537,350 L537,102 Q537,67 544,47 Q551,27 567,18 Q584,10 612,10 L617,10 L617,0 L443,0 L443,384 Q443,449 418,490 Q394,531 336,531 Q289,531 262,506 Q235,481 223,441 Q212,402 212,359 L212,102 Q212,67 219,47 Q227,27 244,18 Q262,10 292,10 L297,10 L297,0 Z" /></symbol><use x="0" y="0" xlink:href="#CVAR-1/94.uni0068" /><use x="635" y="0" xlink:href="#CVAR-1/94.uni006F" /><use x="1212" y="0" xlink:href="#CVAR-1/94.uni006E" /></svg></td>

    <td class="expected" ft:id="CVAR-1/194"
        ft:render="hon" ft:font="TestCVARGVARTwo.ttf" ft:var="wght:194;wdth:100;opsz:72"><svg version="1.1" viewBox="0 -292 2014 1360"><symbol id="CVAR-1/194.uni0068" overflow="visible"><path d="M21,0 L21,10 L25,10 Q48,10 63,14 Q78,19 86,33 Q94,48 94,77 L94,687 Q94,714 87,727 Q80,741 66,745 Q52,750 30,750 L16,750 L16,760 L289,760 L289,571 Q289,548 289,526 Q289,505 288,483 Q288,462 287,439 L289,439 Q298,476 316,501 Q335,526 366,538 Q397,551 441,551 Q521,551 562,505 Q603,460 603,360 L603,80 Q603,50 608,35 Q614,20 627,15 Q640,10 662,10 L666,10 L666,0 L409,0 L409,378 Q409,442 398,472 Q387,502 355,502 Q330,502 315,478 Q301,455 295,418 Q289,382 289,342 L289,74 Q289,47 295,33 Q302,20 316,15 Q330,10 352,10 L356,10 L356,0 Z" /></symbol><symbol id="CVAR-1/194.uni006F" overflow="visible"><path d="M318,-10 Q189,-10 115,60 Q41,130 41,271 Q41,412 112,481 Q183,551 321,551 Q450,551 524,481 Q598,412 598,271 Q598,130 527,60 Q456,-10 318,-10 Z M320,0 Q351,0 368,24 Q386,49 393,108 Q401,168 401,271 Q401,374 393,432 Q386,491 368,516 Q350,541 319,541 Q288,541 271,516 Q254,491 246,432 Q239,374 239,271 Q239,168 246,108 Q254,49 271,24 Q289,0 320,0 Z" /></symbol><symbol id="CVAR-1/194.uni006E" overflow="visible"><path d="M14,0 L14,10 L18,10 Q40,10 55,14 Q71,19 79,33 Q87,48 87,77 L87,463 Q87,490 80,503 Q73,517 59,521 Q45,526 23,526 L19,526 L19,536 L280,536 L280,439 L282,439 Q290,476 309,501 Q328,526 359,538 Q390,551 434,551 Q514,551 555,505 Q596,460 596,360 L596,80 Q596,50 601,35 Q607,20 619,15 Q632,10 655,10 L659,10 L659,0 L402,0 L402,378 Q402,442 391,472 Q380,502 348,502 Q322,502 308,478 Q294,455 288,418 Q282,382 282,342 L282,74 Q282,47 288,33 Q295,20 309,15 Q323,10 345,10 L349,10 L349,0 Z" /></symbol><use x="0" y="0" xlink:href="#CVAR-1/194.uni0068" /><use x="691" y="0" xlink:href="#CVAR-1/194.uni006F" /><use x="1331" y="0" xlink:href="#CVAR-1/194.uni006E" /></svg></td>

  </tr>
  <tr>
    <th>Observed</th>
    <td class="observed" ft:id="CVAR-1/28"/>
    <td class="observed" ft:id="CVAR-1/94"/>
    <td class="observed" ft:id="CVAR-1/194"/>
  </tr>
  <tr>
    <th class="conformance-header">Conformance</th>
    <td class="conformance" ft:id="CVAR-1/28"/>
    <td class="conformance" ft:id="CVAR-1/94"/>
    <td class="conformance" ft:id="CVAR-1/194"/>
  </tr>

</table>

</body>
</html>
